Optimal. Leaf size=63 \[ \frac {2 a (A b-a B)}{b^3 \sqrt {a+b x}}+\frac {2 (A b-2 a B) \sqrt {a+b x}}{b^3}+\frac {2 B (a+b x)^{3/2}}{3 b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {78}
\begin {gather*} \frac {2 \sqrt {a+b x} (A b-2 a B)}{b^3}+\frac {2 a (A b-a B)}{b^3 \sqrt {a+b x}}+\frac {2 B (a+b x)^{3/2}}{3 b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 78
Rubi steps
\begin {align*} \int \frac {x (A+B x)}{(a+b x)^{3/2}} \, dx &=\int \left (\frac {a (-A b+a B)}{b^2 (a+b x)^{3/2}}+\frac {A b-2 a B}{b^2 \sqrt {a+b x}}+\frac {B \sqrt {a+b x}}{b^2}\right ) \, dx\\ &=\frac {2 a (A b-a B)}{b^3 \sqrt {a+b x}}+\frac {2 (A b-2 a B) \sqrt {a+b x}}{b^3}+\frac {2 B (a+b x)^{3/2}}{3 b^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 47, normalized size = 0.75 \begin {gather*} \frac {2 \left (-8 a^2 B+b^2 x (3 A+B x)+a (6 A b-4 b B x)\right )}{3 b^3 \sqrt {a+b x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 55, normalized size = 0.87
method | result | size |
gosper | \(\frac {\frac {2}{3} b^{2} B \,x^{2}+2 b^{2} A x -\frac {8}{3} a b B x +4 a b A -\frac {16}{3} a^{2} B}{\sqrt {b x +a}\, b^{3}}\) | \(46\) |
trager | \(\frac {\frac {2}{3} b^{2} B \,x^{2}+2 b^{2} A x -\frac {8}{3} a b B x +4 a b A -\frac {16}{3} a^{2} B}{\sqrt {b x +a}\, b^{3}}\) | \(46\) |
risch | \(\frac {2 \left (b B x +3 A b -5 B a \right ) \sqrt {b x +a}}{3 b^{3}}+\frac {2 a \left (A b -B a \right )}{b^{3} \sqrt {b x +a}}\) | \(48\) |
derivativedivides | \(\frac {\frac {2 B \left (b x +a \right )^{\frac {3}{2}}}{3}+2 A b \sqrt {b x +a}-4 B a \sqrt {b x +a}+\frac {2 a \left (A b -B a \right )}{\sqrt {b x +a}}}{b^{3}}\) | \(55\) |
default | \(\frac {\frac {2 B \left (b x +a \right )^{\frac {3}{2}}}{3}+2 A b \sqrt {b x +a}-4 B a \sqrt {b x +a}+\frac {2 a \left (A b -B a \right )}{\sqrt {b x +a}}}{b^{3}}\) | \(55\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 61, normalized size = 0.97 \begin {gather*} \frac {2 \, {\left (\frac {{\left (b x + a\right )}^{\frac {3}{2}} B - 3 \, {\left (2 \, B a - A b\right )} \sqrt {b x + a}}{b} - \frac {3 \, {\left (B a^{2} - A a b\right )}}{\sqrt {b x + a} b}\right )}}{3 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.74, size = 57, normalized size = 0.90 \begin {gather*} \frac {2 \, {\left (B b^{2} x^{2} - 8 \, B a^{2} + 6 \, A a b - {\left (4 \, B a b - 3 \, A b^{2}\right )} x\right )} \sqrt {b x + a}}{3 \, {\left (b^{4} x + a b^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 4.55, size = 60, normalized size = 0.95 \begin {gather*} \frac {2 B \left (a + b x\right )^{\frac {3}{2}}}{3 b^{3}} - \frac {2 a \left (- A b + B a\right )}{b^{3} \sqrt {a + b x}} + \frac {\sqrt {a + b x} \left (2 A b - 4 B a\right )}{b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.22, size = 69, normalized size = 1.10 \begin {gather*} -\frac {2 \, {\left (B a^{2} - A a b\right )}}{\sqrt {b x + a} b^{3}} + \frac {2 \, {\left ({\left (b x + a\right )}^{\frac {3}{2}} B b^{6} - 6 \, \sqrt {b x + a} B a b^{6} + 3 \, \sqrt {b x + a} A b^{7}\right )}}{3 \, b^{9}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.06, size = 52, normalized size = 0.83 \begin {gather*} \frac {2\,B\,{\left (a+b\,x\right )}^2-6\,B\,a^2+6\,A\,a\,b+6\,A\,b\,\left (a+b\,x\right )-12\,B\,a\,\left (a+b\,x\right )}{3\,b^3\,\sqrt {a+b\,x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________